<div ng-class="{'fui-navbar':1,'is_backpage':pagedata.is_backpage && main.openbackpage==1}" style="background:#716981">
    <a href="javascript:;" ng-click="access_json('jy_xiuvote/r_detail//id='+pagedata.reply.id);" ng-class="{'external nav-item':1,'active':show_active(item.action)}">
		<span class="icon" style="padding:0 0.3rem">
		<img style="height:0.85rem" ng-src="{{tomedia(pagedata.basic.nav01img)||'/addons/jy_xiuvote/resource/nav01.png'}}"/>
		</span>
    </a>
	<a href="javascript:;" ng-click="access_json('jy_xiuvote/upopus//rid='+pagedata.reply.id);" ng-class="{'external nav-item':1,'active':show_active(item.action)}">
		<span class="icon" style="padding:0 0.3rem">
		<img style="height:0.85rem" ng-src="{{tomedia(pagedata.basic.nav02img)||'/addons/jy_xiuvote/resource/nav02.png'}}"/>
		</span>
    </a>
	<a href="javascript:;" ng-click="access_json('jy_xiuvote/o_list//id='+pagedata.reply.id);" ng-class="{'external nav-item':1,'active':show_active(item.action)}">
		<span class="icon" style="padding:0 0.3rem">
		<img style="height:0.85rem" ng-src="{{tomedia(pagedata.basic.nav03img)||'/addons/jy_xiuvote/resource/nav03.png'}}"/>
		</span>
    </a>
</div>
<script>
scope.pagedata.reply=scope.pagedata.reply?scope.pagedata.reply:{}
scope.gotoaction=function(menu,index){
	menu.action=menu.action?menu.action:menu.url
	if(menu.type==1){
		location.href= 'tel:'+menu.action
	}else if(menu.type==2){
		wx.scanQRCode({
				needResult: 1, 
				scanType: ["qrCode","barCode"],
				success: function (res) {
					var result = res.resultStr;
					location.href = result;
				}
		});
	}else if(menu.type==3){
		scope.pagedata.tokefu();
	}else{
		if(index==0){
			menu.action='jy_xiuvote/r_detail//id='+scope.pagedata.reply.id;
		}
		if(menu.action.indexOf("o_list")!=-1){
			menu.action='jy_xiuvote/o_list//id='+scope.pagedata.reply.id;
		}
		scope.access_json(menu.action);
	}
}
</script>